mkdir build
mkdir dist
mkdir MediaPlayerDoc
cd src
javafxc -d ..\build mm1/MediaPlayer.fx
rem javafxdoc -d mediaPlayerDoc mm1/*.fx mm1/GUI/*.fx
cd ..\build
xcopy ..\img img
xcopy ..\config config
cd ..\dist
xcopy ..\img img
xcopy ..\config config
cd ..\build
jar cfe ..\dist\MediaPlayer.jar mm1.MediaPlayer img\* mm1\*
rem javafx -jar ..\dist\MediaPlayer.jar
javafx mm1.MediaPlayer
cd ..